package br.com.consultsystems.negocio.spec;

import java.io.Serializable;
import java.util.List;

public interface InterfaceNegocio <T extends Serializable> {
	
	T merge(T t) throws Exception;

	T retrieve(Long id) throws Exception;
	
	List<T> retrieveAll()  throws Exception;
	
	void remove(T t) throws Exception;

	void refresh(T t) throws Exception;
	
}
